export const baseRules = {
    one_time_release_success_rate: {
        required: true,
        message: '请填写软件一次发版成功率',
        trigger: 'blur'
    },
    project_summary: {
        required: true,
        message: '请填写项目概要',
        trigger: 'blur'
    },
    project_manager: {
        required: true,
        message: '请选输入项目经理 (请从提示框中选择，否则无法保存)',
        trigger: ['blur', 'change']
    },
    created_at: {
        required: true,
        message: '请选择立项日期',
        trigger: 'change'
    },
    project_start_date: {
        required: true,
        message: '请选择项目开始日期',
        trigger: 'change'
    },
    project_end_date: {
        required: true,
        message: '请选择项目结束日期',
        trigger: 'change'
    },
    customer_full_name: {
        required: true,
        message: '请输入客户全称 (请从提示框中选择，否则无法保存)',
        trigger:  ['blur', 'change']
    },
    corporation: {
        required: true,
        message: '请输入公司全称 (请从提示框中选择，否则无法保存)',
        trigger:  ['blur', 'change']
    },
    business_type: {
        required: true,
        message: '请选择业务类型',
        trigger: 'change'
    },
    project_director: {
        required: true,
        message: '请输入项目总监 (请从提示框中选择，否则无法保存)',
        trigger: ['blur', 'change']
    },
    income_check_method: {
        required: true,
        message: '请选择收入确认方式',
        trigger: 'change'
    },
    est_contract_signing_date: {
        required: true,
        message: '请选择预计合同签订日期',
        trigger: 'change'
    },
    product_category: {
        required: true,
        message: '请选择预产品类型',
        trigger: 'change'
    },
    project_level: {
        required: true,
        message: '请选择项目级别',
        trigger: 'change'
    },
    business_department: {
        required: true,
        message: '请输入所属事业部 (请从提示框中选择，否则无法保存)',
        trigger:  ['blur', 'change']
    },
    product:{
        required: true,
        message: '请选择主交付/产品中心',
        trigger:  'change'
    },
    project_name: {
        required: true,
        message: '请输入项目名称',
        trigger: 'change'
    },
    project_change_reason: {
        required: true,
        message: '请输入项目变更原因',
        trigger: 'blur'
    },
    process_compliance: {
        required: true,
        message: '请输入流程符合度',
        trigger: 'blur'
    },
    defect_density: {
        required: true,
        message: '请输入全工程缺陷密度',
        trigger: 'blur'
    },
    currency_id: {
        required: true,
        message: '请选择币种',
        trigger: 'change'
    },
    billing_period: {
        required: true,
        message: '请输入帐期',
        trigger: 'blur'
    },
    sales: {
        required: true,
        message:'请输入销售人员 (请从提示框中选择，否则无法保存)',
        trigger: ['blur', 'change']
    },
    hardware_revision_count: {
        required: true,
        message: '请输入硬件改版次数',
        trigger: 'blur'
    },
    security_level: {
        required: true,
        message: '请选择信息安全级别',
        trigger: 'change'
    },
    // deal_id:{
    //     required: true,
    //     message: '请输入DEAL ID',
    //     trigger:  ['blur', 'change']
    // }
};